<?php
error_reporting(0);
if ( function_exists( "date_default_timezone_set" ) )
{
    date_default_timezone_set('Asia/Shanghai');
}

$g_color = "#CFCFFF";
$g_line_min_show = 1;
$g_rate0_8num = 0.04;
$g_oneamount = 2;
$g_risk_value = 200000;
$g_risk_value_3d = 200000;
$g_only_6h = "";
$g_betname = array ( 0 => "特码" , 1 => "特单双" , 2 => "特大小" , 3 => "特合单双" ,
    4 => "正码" , 5 => "总单双" , 6 => "总大小"  ,48=>"四全中", 8 => "三全中" , 9 => "三中二" ,
    7 => "二全中" , 10 => "二中特" , 11 => "特串" , 12 => "过关" ,
    13 => "色波" , 14 => "生肖" , 20 => "家禽野兽" , 28 => "特尾大小" , 30 => "合尾大小" ,
    //51 => "正码过关-单双" , 52 => "正码过关-大小" , 53 => "正码过关-色波" , 54 => "正码过关-合码" ,
    15 => "正码1-6单双" , 16 => "正码1-6大小" , 17 => "正码1-6色波" , 23 => "正码1-6合码" , 25 => "正码特",
    18 => "半波" , 19 => "合肖" , 21 => "一肖" , 22 => "尾数" , 27 => "连肖" , 36 => "连尾" , 29 => "五不中" , 39 => "六不中" , 40 => "七不中" ,
    41 => "八不中" , 42 => "九不中" , 43 => "十不中" , 44 => "十一不中" , 45 => "十二不中" ,
    47 => "特合大小",49=>"特码头",50=>"特码尾");

$g_bettype_ab = array (
    0 => array ( 1001 , 0 ) ,
    24 => array ( 1001 , 0 ) ,
    4 => array ( 1002 , 4 ) ,
    31 => array ( 1002 , 4 ) ,
    25 => array ( 1003 , 25 ) ,
    26 => array ( 1003 , 25 ) ,
    10 => array ( 1004 , 10 ) ,
    32 => array ( 1004 , 10 ) ,
    9 => array ( 1005 , 9 ) ,
    33 => array ( 1005 , 9 ) ,
    21 => array ( 1006 , 21 ) ,
    37 => array ( 1006 , 21 ) ,
    22 => array ( 1007 , 22 ) ,
    38 => array ( 1007 , 22 )
);
$g_autorate = array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 21 , 22 ,
    23 , 24 , 25 , 26 , 28 , 30 , 31 , 34 , 35 , 37 , 38 , 29 , 39 , 40 , 41 , 42 , 43 , 44 , 45 , 46 ,
    47,49,50 );

$g_betname_3d = array ( 55 => "全五一字组合" , 0 => "一字组合" , 69 => "第一球" , 70 => "第二球" , 1 => "第三球" ,
    2 => "第四球" , 3 => "第五球" , 56 => "第一球大小" , 59 => "第二球大小" , 4 => "第三球大小" , 5 => "第四球大小" ,
    6 => "第五球大小" , 57 => "第一球单双" , 60 => "第二球单双" , 7 => "第三球单双" , 8 => "第四球单双" , 9 => "第五球单双" ,
    58 => "第一球质合" , 61 => "第二球质合" , 10 => "第三球质合" , 11 => "第四球质合" , 12 => "第五球质合" , 71 => "总单双" , 72 => "总大小", 
	//46 => "一字过关" ,
    //14 => "百拾定位" , 15 => "百个定位" , 16 => "拾个定位" , 36 => "百拾和数" , 37 => "百个和数" ,
    // 13 => "二字组合" , 38 => "拾个和数" , 62 => "万千和数单双" , 63 => "万佰和数单双" , 64 => "万拾和数单双" , 65 => "万个和数单双" ,
    //66 => "千佰和数单双" , 67 => "千拾和数单双" , 68 => "千个和数单双" , 17 => "百拾和数单双" , 18 => "百个和数单双" ,
    //19 => "拾个和数单双" , 39 => "百拾和数尾数" , 40 => "百个和数尾数" , 41 => "拾个和数尾数" , 20 => "三字组合" ,
    //21 => "百拾个定位" , 42 => "百拾个和数" , 22 => "百拾个和数大小" , 23 => "百拾个和数单双" , 43 => "百拾个和数尾数" ,
    //44 => "百拾个和数尾数大小" , 45 => "百拾个和数尾数质合"  , 35 => "复式组合" ,
    //47 => "跨度" , 24 => "组选三-5" , 25 => "组选三-6" , 26 => "组选三-7" , 27 => "组选三-8" , 28 => "组选三-9" ,
    //29 => "组三全包" , 30 => "组选六-4" , 31 => "组选六-5" , 32 => "组选六-6" , 33 => "组选六-7" , 34 => "组选六-8" ,
    //48 => "豹子" , 49 => "顺子" , 50 => "对子" , 51 => "半顺" , 52 => "杂六" , 53 => "准对" ,54 => "不出牌" , 
	73 => "龙虎和",74=>'牛牛',75=>'梭哈',76=>'其它','77'=>'牛牛大小','78'=>'牛牛单双');
	
$_5h_Arr = array (
    0 => array ( 0 => "平码及特码" , 1 => "单双" , 2 => "大小" , 3 => "尾大小" , 4 => "合单双" ,
        5 => "色波" , 6 => "福禄寿喜" , 7 => "总单双" , 8 => "总大小" , 9 => "一中一" , 10 => "二中二" ,
        11 => "三中二" , 12 => "三中三" , 13 => "四中三" , 14 => "五中三" ) ,
    1 => array (
        0 => "球号" ,
        1 => "单双" ,
        2 => "大小" ,
        3 => "尾大小" ,
        4 => "合单双" ,
        5 => "中发白" ,
        6 => "方位" ,
        7 => "总单双" ,
        8 => "总大小" ,
        9 => "总尾大小" ,
        10 => "选二任选" ,
        11 => "选二连组" ,
        12 => "选二连直" ,
        13 => "选三任选" ,
        14 => "选三前组" ,
        15 => "选三前直" ,
        16 => "选四任选" ,
        17 => "选五任选" ,
        18 => "龙虎"
    ) ,
    2 => array (
        0 => "名次" ,
        1 => "单双" ,
        2 => "大小" ,
        3 => "冠亚单双" ,
        4 => "冠亚大小" ,
        5 => "冠亚和值" ,
        6 => "龙虎"
    )
);
$_sb_Arr=array(0=>'三军',1=>'大小',3=>'短牌',4=>'豹子',5=>'全骰',6=>'长牌',7=>'总点数',8=>'对子/散号');//2=>'单双',
$g_betname_5h = array (
    20 => $_5h_Arr[0] ,
    21 => $_5h_Arr[1] ,
    22 => $_5h_Arr[1] ,
    23 => $_5h_Arr[1] ,
    24 => $_5h_Arr[2]
);
$g_onlyN5Arr = array ( 55 , 56 , 57 , 58 , 59 , 60 , 61 , 62 , 63 , 64 , 65 , 66 , 67 , 68 , 69 ,
    70 , 71 , 72 , 73 );
$g_N5_not_N3Arr = array ( 14 , 15 , 16 , 36 , 37 , 38 , 39 , 40 , 41 , 21 , 42 , 22 , 23 , 43 ,
    44 , 45 , 35 , 48 , 49 , 50 , 51 , 52 , 53 , 54 );
$g_n3n5Arr = array ( 0 , 13 , 20 , 47 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34,76);
$g_n5GameArr = array ( 11 , 12 , 13 , 14 , 15 );
//限额设定的显示项 时时彩
$g_2face_3d = array ( 56,57,58,59,60,61,4,7,10,5,8,11,6,9,12,72,71,73,77,78 );
$g_2face_5h = array (
    20 => array ( 1 , 2 , 3 , 4 , 7 , 8 ) ,
    21 => array ( 1 , 2 , 3 , 4 , 7 , 8 , 9 , 18 ) ,
    22 => array ( 1 , 2 , 3 , 4 , 7 , 8 , 9 , 18 ) ,
    23 => array ( 1 , 2 , 3 , 4 , 7 , 8 , 9 , 18 ) ,
    24 => array ( 1 , 2 , 3 , 4 , 6 )
);
$g_2face_sb = array (); //双面的项目

$g_bet4subArr = array (
    20 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) ,
    21 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) ,
    22 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) ,
    23 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 ) ,
    24 => array ( 0 , 1 , 2 , 3 , 4 , 6 )
);
$g_betXYArr = array (
    20 => array ( 1 , 2 , 3 , 4 , 6 , 7 , 8 ) ,
    21 => array ( ) ,
    22 => array ( ) ,
    23 => array ( ) ,
    24 => array ( )
);
//自动赔率
$g_autorate_3d = array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 ,
    17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 , 35 , 36 ,
    37 , 38 , 39 , 40 , 41 , 42 , 43 , 44 , 45 , 46 , 47 , 48 , 49 , 50 , 51 , 52 , 53 , 54 , 55 , 56 ,
    57 , 58 , 59 , 60 , 61 , 62 , 63 , 64 , 65 , 66 , 67 , 68 , 69 , 70 , 71 , 72 , 73,74,75 );
$g_autorate_3s = array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 ,
    17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 , 35 , 36 ,
    37 , 38 , 39 , 40 , 41 , 42 , 43 , 44 , 45 , 47 , 48 , 49 , 50 , 55 , 56 , 57 ,
    58 , 59 , 60 , 61 , 62 , 63 , 64 , 65 , 66 , 67 , 68 , 69 , 70 , 71 , 72 , 73,74,75 );
$g_autorate_5h = array (
    20 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 ) ,
    21 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 ) ,
    22 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 ) ,
    23 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 ) ,
    24 => array ( 0 , 1 , 2 , 3 , 4 , 5 , 6 )
);
$g_autorate_sb = array(0,1,2,3,4,5,6,7,8);

$g_gametype_3d = array (
    0 => array ( "en" => "6h" , "ch" => "六合彩" , "chs" => "六合" , "pg" => "" , "type" => 0,"zc"=>'一般彩' ) ,
    1 => array ( "en" => "3d" , "ch" => "福彩3D" , "chs" => "福彩" , "pg" => "_3d" ,"type" => 1,"zc"=>'一般彩' ) ,
    2 => array ( "en" => "3t" , "ch" => "体彩P3" , "chs" => "体彩" , "pg" => "_3d" ,"type" => 1,"zc"=>'一般彩' ) ,
    10 => array ( "en" => "3s1" , "ch" => "上海时时乐" , "chs" => "时时乐" , "pg" => "_3d" ,"type" => 2,"zc"=>'快开彩' ) ,
    11 => array ( "en" => "3s2" , "ch" => "天津时时彩" , "chs" => "天津彩" , "pg" => "_3d" ,"type" => 2,"zc"=>'快开彩'  ) ,
    12 => array ( "en" => "3s3" , "ch" => "重庆时时彩" , "chs" => "重庆彩" , "pg" => "_3d" ,"type" => 2,"zc"=>'快开彩'  ) ,
    13 => array ( "en" => "3s4" , "ch" => "江西时时彩" , "chs" => "江西彩" , "pg" => "_3d" ,"type" => 2,"zc"=>'快开彩'  ) ,
    14 => array ( "en" => "3s5" , "ch" => "新疆时时彩" , "chs" => "新疆彩" , "pg" => "_3d" ,"type" => 2,"zc"=>'快开彩'  ) ,
    15 => array ( "en" => "3s6" , "ch" => "福建时时彩" , "chs" => "福建彩" , "pg" => "_3d" ,"type" => 2,"zc"=>'快开彩'  ) ,
    20 => array ( "en" => "5h" , "ch" => "广西快乐十分" , "chs" => "广西快" , "pg" => "_5h" ,"type" => 3,"zc"=>'快开彩'  ) ,
    21 => array ( "en" => "8h" , "ch" => "广东快乐十分" , "chs" => "广东快" , "pg" => "_5h" ,"type" => 3,"zc"=>'快开彩'  ) ,
    22 => array ( "en" => "8h2" , "ch" => "天津快乐十分" , "chs" => "天津快" , "pg" => "_5h" ,"type" => 3,"zc"=>'快开彩'  ) ,
    23 => array ( "en" => "8h3" , "ch" => "幸运农场" , "chs" => "幸运农场" , "pg" => "_5h" ,"type" => 3,"zc"=>'快开彩'  ) ,
    24 => array ( "en" => "pk10" , "ch" => "北京快乐赛车" , "chs" => "北京赛车" , "pg" => "_5h" ,"type" => 3,"zc"=>'快开彩'  ),
    25 => array ( "en" => "sb1" , "ch" => "江苏骰宝" , "chs" => "江苏骰宝" , "pg" => "_sb" ,"type" => 4,"zc"=>'快开彩'  ),
    26 => array ( "en" => "sb2" , "ch" => "安徽骰宝" , "chs" => "安徽骰宝" , "pg" => "_sb" ,"type" => 4,"zc"=>'快开彩'  )
);
$g_disk_codeUP = array ( 1 => "A" , 2 => "B" , 3 => "C" , 4 => "D" );
$g_menu_list = array (
//    0 => "<li {$g_only_6h}><a href=\"#tab0\" class=\"tabcolor0\" onclick=\"return false\">香港六合彩</a></li>" ,
//    1 => "<li><a href=\"#tab1\" class=\"tabcolor1\" onclick=\"return false\">福彩</a></li>" ,
//    2 => "<li><a href=\"#tab2\" class=\"tabcolor2\" onclick=\"return false\">体彩</a></li>" ,
//    10 => "<li><a href=\"#tab10\" class=\"tabcolor10\" onclick=\"return false\">时时乐</a></li>" ,
//    11 => "<li><a href=\"#tab11\" class=\"tabcolor11\" onclick=\"return false\">天津彩</a></li>" ,
//    12 => "<li><a href=\"#tab12\" class=\"tabcolor12\" onclick=\"return false\">重庆时时彩</a></li>" ,
//    13 => "<li><a href=\"#tab13\" class=\"tabcolor13\" onclick=\"return false\">江西彩</a></li>" ,
//    14 => "<li><a href=\"#tab14\" class=\"tabcolor14\" onclick=\"return false\">新疆时时彩</a></li>" ,
//    15 => "<li><a href=\"#tab15\" class=\"tabcolor15\" onclick=\"return false\">福建彩</a></li>" ,
//    20 => "<li><a href=\"#tab20\" class=\"tabcolor20\" onclick=\"return false\">广西快</a></li>" ,
//    21 => "<li><a href=\"#tab21\" class=\"tabcolor21\" onclick=\"return false\">广东十分</a></li>" ,
//    22 => "<li><a href=\"#tab22\" class=\"tabcolor22\" onclick=\"return false\">天津十分</a></li>" ,
//    23 => "<li><a href=\"#tab23\" class=\"tabcolor23\" onclick=\"return false\">幸运农场</a></li>" ,
//    24 => "<li><a href=\"#tab24\" class=\"tabcolor24\" onclick=\"return false\">北京赛车</a></li>",
//	25 => "<li><a href=\"#tab25\" class=\"tabcolor25\" onclick=\"return false\">江苏骰宝</a></li>",
//	26 => "<li><a href=\"#tab26\" class=\"tabcolor26\" onclick=\"return false\">安徽骰宝</a></li>"

    0 => "<li {$g_only_6h}><a href=\"#tab0\" class=\"tabcolor0\" onclick=\"return false\">香港六合彩</a></li>" ,
    1 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab1\">福彩</a></div>" ,
    2 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab2\">体彩</a></div>" ,
    10 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab10\">时时乐</a></div>" ,
    11 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab11\">天津彩</a></div>" ,
    12 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab12\">重庆时时彩</a></div>" ,
    13 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab13\">江西彩色</a></div>" ,
    14 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab14\">新疆时时彩</a></div>" ,
    15 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab15\">福建彩</a></div>" ,
    20 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab20\">广西快</a></div>" ,
    21 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab21\">广东十分</a></div>" ,
    22 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab22\">天津十分</a></div>" ,
    23 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab23\">幸运农场</a></div>" ,
    24 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab24\">北京赛车</a></div>",
    25 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab25\">江苏骰宝</a></div>",
    26 => "<div style=\"width: 80px; float: left;\"><a class=\"btn btn-danger taba\" style=\"padding-left: 10px;margin-left: 5px;margin-top: 21px;\" href=\"#tab26\">安徽骰宝</a></div>"

);
$g_chinayear = array ( "" , "鼠" , "牛" , "虎" , "兔" , "龙" , "蛇" , "马" , "羊" , "猴" , "鸡" , "狗" ,"猪" );
$g_weekname = array ( "日" , "一" , "二" , "三" , "四" , "五" , "六" );
$g_weekallname = array ( "星期日" , "星期一" , "星期二" , "星期三" , "星期四" , "星期五" , "星期六" );
$g_oddname = array ( 0 => "和" , 1 => "单" , 2 => "双" );
$g_bigname = array ( 0 => "和" , 1 => "大" , 2 => "小" );
$g_bigmidname = array ( 1 => "大" , 2 => "中" , 3 => "小" );
$g_colorname = array ( 1 => "红" , 2 => "蓝" , 3 => "绿" );
$g_colorname2 = array ( "" , "红单" , "红双" , "红大" , "红小" , "蓝单" , "蓝双" , "蓝大" , "蓝小" , "绿单" ,"绿双" , "绿大" , "绿小" );
$g_colorname3 = array ( 1 => "福" , 2 => "禄" , 3 => "寿" , 4 => "喜" );
$g_red_po = array ( 1 , 2 , 7 , 8 , 12 , 13 , 18 , 19 , 23 , 24 , 29 , 30 , 34 , 35 , 40 , 45 , 46 );
$g_blue_po = array ( 3 , 4 , 9 , 10 , 14 , 15 , 20 , 25 , 26 , 31 , 36 , 37 , 41 , 42 , 47 , 48 );
$g_green_po = array ( 5 , 6 , 11 , 16 , 17 , 21 , 22 , 27 , 28 , 32 , 33 , 38 , 39 , 43 , 44 , 49 );
$g_numcolor = array ( 0 , 1 , 1 , 2 , 2 , 3 , 3 , 1 , 1 , 2 , 2 , 3 , 1 , 1 , 2 , 2 , 3 , 3 , 1 , 1 ,
    2 , 3 , 3 , 1 , 1 , 2 , 2 , 3 , 3 , 1 , 1 , 2 , 3 , 3 , 1 , 1 , 2 , 2 , 3 , 3 , 1 , 2 , 2 , 3 , 3 , 1 ,
    1 , 2 , 2 , 3 );
$g_double_po = array ( 11 , 22 , 33 , 44 );
$g_bignum = array ( "" , "一" , "二" , "三" , "四" , "五" , "六" );
$g_disk_name = array ( 1 => "A 盘" , 2 => "B 盘" , 3 => "C 盘" , 4 => "D 盘" );
$g_disk_name2 = array ( 1 => "A 活动盘" , 2 => "B 活动盘" , 3 => "C 固定盘" , 4 => "D 盘" );
$g_disk_code = array ( 1 => "a" , 2 => "b" , 3 => "c" , 4 => "d" );
$g_xyDisk = array ( 0 => "" , 1 => "X盘" , 2 => "Y盘" );
?>